backtracking in prolog with code

join shbcf.ru